Information storage and retrieval system

ABSTRACT

Conventional information storage systems are subject to numerous practical constraints such as contiguity in the physical locations of blocks and the requirement that storage blocks be created in advance. Information retrieval in these systems has required the creation of indices, which take a long time to generate, and the structure of these systems makes them prone to deadlock because the indices are updated and the range of exclusion broadened when the referent information is modified. This invention utilizes the random access facilities of semiconductors to achieve high speeds and minimize the maintenance load. This invention introduces location tables and alternate-key tables to replace these indices. It also stores multiple records in a single block and can handle variable-length records and spanned records. The location tables manage the storage blocks. An alternate-key block is made up of a substitute key and its block number and the primary key value, either of which may be used to retrieve a target record by searching this table. Binary search is a well-known high-speed method of querying tables, but other methods may be used as well.

CLAIM TO FOREIGN PRIORITY UNDER 35 U.S.C. §119(e) This Divisional Application hereby claims priority under 35 U.S.C. §119(e) based on the Original Japanese Priority Application No: 9/2197000 filed in Japan on Jul. 11^(th), 1997 by sole inventor Masaharu Tamatsu. This original application was followed by PCT Application No: PCT/JP98/03067 filed on Jul. 8^(th), 1998, then by U.S. National Phase Application No: 09/254,437 filed May 7^(th), 1999 now U.S. Pat. No. 6,415,375, and then U.S. Continuation Application No: 10/119,145 filed on Apr. 10^(th), 2002 now U.S. Pat. No. 6,584,555.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The invention relates to the field of information storage and retrieval, and particularly to the storage and reading of data with computers and also particularly to data management in that it provides data storage and retrieval at high speeds, high ratios of data to storage capacity and greatly reduced maintenance time.

2. Description of Related Art

Conventional information storage systems are subject to numerous practical constraints such as contiguity in the physical location of blocks and the requirement that storage blocks be created in advance. Moreover, in most systems random access requires the creation of indices, which take a long time to generate, and the structure of these systems makes them prone to deadlock because the indices are updated and the range of exclusion broadened when the referent information is modified. Although direct access systems do not use indices, these systems relate record keys with storage locations by means of special programs known as randomizing routines. In practice they do not allow for sequential access and exhibit low storage efficiency when compared with methods that use indices.

SUMMARY OF THE INVENTION

Because conventional information storage and retrieval systems presumed their data would be stored on magnetic disk, in certain respects their shortcomings are unavoidable. On the other hand, the price of semiconductors has fallen remarkably and conditions for using semiconductors as memory devices are falling into place. Semiconductors do not necessitate physical movement or rotation and enable high-speed storage and reading even if addresses are not contiguous. The construction of a memory device taking advantage of these properties and comprising semiconductors alone or semiconductors and random access memory media would enable high-speed storage and retrieval processing. A semiconductor may be used as the primary memory device or may be provided to the invention as an external memory device. Storing information sequentially in blocks, using overflow blocks for storage when the insertion of information causes an overflow, using location tables or alternate-key blocks that manage storage blocks rather than using indices, and performing retrievals from these location tables or alternate-key blocks enables high-speed storage and reading, improves the efficiency of information storage and minimizes the occurrence of deadlock.

Location tables and alternate-key tables are introduced in place of indices. Records are not stored independently; rather, multiple records are stored in a single block. FIG. 4 illustrates the structure of a block. The FROM and TO segments in FIG. 4 represent the minimum key value and maximum key value of the block, respectively, but neither is absolutely necessary and the invention may be implemented with either one alone. When using long records, a single record may be matched to a single block, and a format in which a single record is stored over two or more blocks (spanned records) is also possible. All primary blocks in a single file and all overflow blocks in a single file are of equal lengths, facilitating region management. Storage in blocks allows block detection by means of fixed-length operations even when variable-length records are stored because the block units are of a fixed length. The location table secures the required contiguous region in advance. A single record (entry) in a location table manages a single primary block in the data record storage region. Although it is also possible to implement methods of managing multiple primary blocks, because primary blocks may be of any given size it is simpler not to manage multiple blocks if the implementation allows modification of the size of blocks. Blocks are composed of primary blocks and overflow blocks, and only the primary blocks are managed in the location table. Records are stored first of all in primary blocks. If storage in a block is rendered impossible due to insertion of a record, a single overflow block is allocated to that block. If that overflow block is not sufficient for storage, one more overflow block is allocated. Overflow blocks are managed as dependent blocks of their primary block; they are not managed in the location table but only by pointing from the primary block.

Because overflow blocks are not managed in the location table, records are not inserted into the location table, the time it takes to re-write the location table is minimized and re-writing of the location table is a single record. Therefore, the range of any exclusion that may occur is radically minimized and the possibility of a deadlock is greatly reduced.

A deadlock occurs when two different tasks on a single computer perform exclusion operations on two or more identical resources in different sequences but does not occur if the sequence of exclusion is identical, and narrower ranges of exclusion reduce the probability of deadlock. Conventional indices are made up of multiple levels. When a record is accessed and a record's key is modified when an index is updated, the index is also modified. When this affects the lowest-level index alone, the exclusion range is restricted, but in some cases this may affect higher-level indices. Because exclusion affects a range of multiple records and it takes a great deal of time to update the indices in such cases, exclusion takes up long periods of time and is a cause of multiple instances of deadlock.

OBJECTS AND ADVANTAGES

Accordingly, several objects and advantages of the invention are:

(a) To provide high-speed random access by using primary keys and alternate keys;

(b) To provide high-speed sequential read and write operations;

(c) To provide minimal modification caused by updating, modification and deletion of data, short processing time, and high-speed storage by using location tables and alternate-key blocks instead of indices;

(d) To provide creation (generation) of location tables and alternate-key blocks in shorter times than are required for the creation of indices;

(e) To eliminate the necessity of creating blocks in advance;

(f) To provide the ability to add blocks until no physical space remains on a storage medium;

(g) To provide record-compression capabilities deriving from the capability of handling variable-length records and record insertion (though in most cases compressed records cannot be updated);

(h) To provide the capability of using multiple alternate keys; and

(i) To provide greatly reduced database maintenance time.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates the structures of a location table and a final pointer, either or both of which may be implemented with different lengths, the number of bytes given for each being for illustrative purposes only;

FIG. 2 illustrates the relationship between a location table and its blocks;

FIG. 3 illustrates the structures of an alternate-key table (and its entries) and an alternate-key block, either or both of which may be implemented with different lengths, the number of bytes given for each being for illustrative purposes only, in which the FROM and TO segments hold the minimum and maximum key values, respectively, of the block and the alternate-key block may hold both FROM and TO values or it may hold only one of these.

FIG. 4 illustrates the structure of a block;

FIG. 5 illustrates the structure of a pre-alternate-key block;

FIG. 6 illustrates the relationship between primary blocks and overflow blocks in which the blocks occupy a contiguous region in order to facilitate understanding, but there being no requirement that they do so in practice; and

FIG. 7 illustrates an example of keys applied to text data.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

Records stored with this system are restricted to records having a single unique primary key and none or one or more non-unique (though these may be unique) keys (alternate keys). The system does not accommodate records that do not have a unique key.

However, a serial number or other unique key may be forcibly applied to a record not having a unique key when such a record is added and reading performed only in the physical order of records or in the order of their alternate keys. BecauseBecause insertion is not thus involved, an overflow block is required only when updating a record increases the length of the record.

In the description following, “addition” refers to storage of a record having a primary key larger than the largest primary key of records currently stored, and “insertion” refers to storage of a record having a primary key smaller than the largest primary key of records currently stored.

First, we will describe the storage system. The size of a location table is calculated from the number of records planned to be stored, the size of their blocks, and the number of primary-key blocks per record in the location table, and a contiguous region sufficient for this size is secured in a storage medium. Similarly, the size and number of alternate-key blocks is determined and a contiguous region sufficient for this size secured so as to enable storage of entries in the number of records also storing the number of blocks in alternate-key tables. However, in the event storage exceeds the number originally assumed, there is a possibility that the contiguous region may fill up, making further storage impossible. In such cases, an additional contiguous storage region is secured and an address-conversion table used to treat multiple contiguous regions as though they were one contiguous region, thus allowing the system to accommodate situations in which the number of records stored exceeds the number originally assumed. When there are multiple alternate keys, a region is secured for each one. There is no need for the alternate-key blocks corresponding to different alternate keys to be contiguous. FIG. 2 illustrates the relationship between a location table and its blocks.

This further allows for the possibility of implementing special structures by securing blocks in a contiguous region without using location tables.

When using a storage system split into sub-ranges, a location table is created for each sub-range in a size suited to the number of records intended to be stored in the sub-range. Each location table must be in a contiguous region, but all location tables need not be in a single contiguous region. Although a scheme by which an alternate-key block is set up not split across regions, but in a contiguous region of a size corresponding to all records would prove effective in terms of high-speed access, it is also possible to provide the alternate-key block split up according to its several sub-ranges.

When storing the first record, first a final pointer is referenced in exclusion mode. The final pointer controls how far the block and location table are used and so has the format illustrated in FIG. 1. Because there are no stored records to begin with, the first block is registered in the final pointer as the final block. The block number and primary-key value are registered in the final pointer. Next, the first primary block is secured in exclusion mode, and its physical address and block number (0 in this case and in other cases where numbering starts from 0) are registered. When a block is secured on disk, its entry includes the value of its primary key. Next, records are registered in that block. Then all exclusion is released.

To register the second record, first the final pointer is referenced in exclusion mode and it is determined whether the primary key is greater than the value of the key in the final pointer. First we will describe how a record is added. Because the block number is 0, block number 0 in the location table is referenced in exclusion mode, the physical location of block 0 obtained and block 0 at that physical location read. If there is sufficient space in that block, the record is stored, the value of the primary key registered in the final pointer and all exclusion released.

Subsequent additions are performed in like fashion. Sometimes the space in block 0 will not be sufficient to store an additional record. If block 0 lacks sufficient space when the above operation is performed and block 0 read on the addition of record number m, a single primary block (block number 1) is secured in exclusion mode. Record number m is then stored in block 1. The second record in the location table is then referenced in exclusion mode, and the physical location of primary block 1 registered in this record. All exclusion is then released. In this way additions are stored in the location that physically follows the last record. When split across sub-ranges, the same operations are performed for each sub-range.

Next we describe how a record is inserted. Assume that multiple location-table entries, primary blocks and data records already exist.

It is first of all necessary to determine which block the record inserted should be stored in.

This is done by searching the location table. A binary search is one example of a high-speed search method. Though a binary search method is used here as an example, other methods may also be used to find a target entry. The method used here is to find dichotomous points and compare the value of the primary key of the record stored in that block (abbreviated below as “stored primary-key value”), including the overflow block if the primary block that record points to has an overflow block, with the value of the primary key of the record inserted (abbreviated below as “inserted primary-key value”). If the inserted primary-key value is greater than the smallest of the stored primary-key values or smaller than the smallest of the stored primary-key values in the next block, it is stored in the first of those two blocks. Otherwise, the sizes of the stored primary-key values of that block and the insertion-block primary-key value are again compared, dichotomous points are obtained in the former if the inserted primary-key value is smaller and in the latter if the inserted primary-key value is not smaller, and like operations performed to identify the block to be used for storing the record.

If the location table is composed of multiple contiguous regions, a binary search cannot be performed as is, but using an address-conversion table to treat it as though it were a single contiguous region allows a binary search to be performed.

If the location table is split across sub-ranges, first a comparison is made with the value of either the initial or the final primary key of the location table in each sub-range to determine which sub-range holds the target record. A binary search is then performed on that sub-range in like manner as described above to identify the block that holds the target record.

If the record is to be stored in block number n, the following shall apply. The location within the block where the record is to be inserted is identified. Because records are arranged in the order of their primary keys, the location of the insertion will be that location immediately prior to the record having a primary key larger than the record being inserted. First, a check is performed for duplication of the primary keys. If there is any duplication of primary keys, an error is output because the storage cannot be performed. If there is no duplication of primary keys, one or more records located behind the record being inserted are moved rearwards to create a space exactly equal to the size of the record being inserted. If the records thus moved fit within the block, insertion is completed, but if those records do not fit within the block, a single overflow block is provided, a pointer to it provided from the primary block, and as many records stored in the overflow block as necessary. Then the record to be inserted and any that follow it are stored in the primary block. FIG. 6 illustrates the logical relationship between primary blocks and overflow blocks.

If an overflow block already exists, it is to be preferred for it to be possible to store the record combining a primary block and its overflow block. There is also a possibility that only a part of an overflow block is used and the region not used efficiently. In order to avoid such, a single overflow block may be provided for multiple primary blocks. It is also possible to provide all overflow blocks in an identical size smaller than that of their primary block. It is also possible use a single overflow block by pointing to it from multiple primary blocks.

Another method that may be adopted is to store a record that overflows in an independent storage region and provide a pointer to it from its primary block. However, if this method results in a large number of overflow records, it entails the disadvantage of long retrieval times compared with a method using overflow blocks. In practice, the storage method selected should be that suited to the number of records that are to be generated.

Next, we describe storage and updating with alternate keys. Alternate-key tables are comprised of multiple alternate-key blocks and their entries are stored in an alternate-key block in the order of their alternate keys. Entries in an alternate-key table consist of an alternate key, the physical address of the block where the record of that key value is stored, and the primary key of the record of that key value. The number of entries in an alternate-key table changes when its records are added or updated, but there is a high possibility that an increase in the number of entries will result in entry insertion and a very low possibility that such increase will result in entry addition. Therefore, the management methods used for primary keys are not appropriate. If there are already more stored records than the final number planned, insertions can be processed efficiently by providing a space of defined size when storing an entry in an alternate-key block, but if the initial number of records is less than the final number of stored records planned, key insertions will result in a multiple overflow alternate-key blocks. A pre-alternate-key table is used in such cases.

A pre-alternate-key table has the same structure as an alternate-key table, and the number of blocks in it is the quotient obtained by dividing the size capable of accommodating entries in the number of alternate-key blocks by the size of the blocks. When the number of entries in a pre-alternate-key table becomes equal to the number of alternate-key tables, these entries are moved from the pre-alternate-key table to an alternate-key table. When such entries are moved, in principle a single entry is stored in any given alternate-key block, but entries having an identical alternate key are stored in the same alternate-key block. If the number of entries having an identical alternate key is too large to store them in the corresponding alternate-key block, they are stored in an added alternate-key overflow block.

For example, assume that the final number of stored records planned is one million records. If 100 entries can be stored in a single alternate-key block, 10,000 alternate-key blocks will be required. The entries are stored in a pre-alternate-key block until there are 10,000 of them, and when the number of entries reaches 10,000, the entries are transferred to alternate-key blocks.

The above description is of a scheme in which a single alternate-key table is provided for each type of key. If single alternate-key tables are to be provided for each sub-range, the operations described above would be performed for each sub-range.

If there is a large number of alternate-key blocks and a single level of pre-alternate-key tables is provided, there is a possibility that this will result in a large number of pre-alternate-key blocks, a high frequency of insertions and inefficient updating. In such cases, multiple levels of pre-alternate-key tables are provided. Taking the example described above, 10,000 entries will be stored in a pre-alternate-key table, but this pre-alternate-key block is provided two levels because 100 entries can be stored in a single block, 100 entries are managed in the first pre-alternate-key table and when the number of entries in that first pre-alternate-key table reaches 100, they are transferred to the second-level pre-alternate-key table.

FIG. 5 illustrates an example of such a transfer in which a two-level pre-alternate-key table is provided.

Next, we will describe retrieval of records using primary keys. This operation is performed in the same fashion used to determine the insertion location when a record is inserted. The example of retrieval described here uses the same binary-search method used in the example described for insertion. First, dichotomous points are found in the location table, and the value of the primary key of the record stored in that block (abbreviated below as “stored primary-key value”), including the overflow block if the primary block that entry points to has an overflow block, is compared with the value of the primary key of the target record (abbreviated below as “target primary-key value”). If the target primary-key value is greater than or equal to the smallest of the stored primary-key values and smaller than the smallest of the stored primary-key values in the next block, either the target record exists in that block or the record of that key value does not exist in the file. Because records in a block are arranged in the order of their primary keys, searching the block can detect the target record or confirm whether the record does not exist in the file. Otherwise, the sizes of the stored primary-key values of that block and the primary-key value of the target record are again compared, dichotomous points are obtained in the former if the target primary-key value is smaller and in the latter if the target primary-key value is not smaller, and like operations performed to identify the block storing the record.

Next, we will describe retrieval using alternate keys. Retrieval with alternate keys is performed by searching alternate-key tables. The binary search method is typically used, but the discussion is omitted here because it is described above with respect to retrieval using primary keys. The alternate-key block including the target alternate key is identified. Then the target alternate-key entry in the alternate-key block is identified. The result is that, as when using primary keys, either the entry exists in that block or a record with that alternate-key value does not exist in the file and the entry does not exist. If the alternate-key block has any alternate-key overflow blocks, all such blocks are searched.

The above description is of a scheme in which a single alternate-key table is provided for each type of key. If alternate-key tables are to be provided split up, one alternate-key table for each sub range, the retrieval would be performed by identifying the target alternate-key block in each sub-range, extracting the entries having the target key values from each sub-range and then searching all such key values thus extracted.

If the alternate-key entry having the target key value is identified, the physical block is accessed from the physical block number in that entry and the record in that block identified that matches the primary-key value in the entry. And because alternate keys may be non-unique, the next entry in the alternate-key block is examined. If it has an identical alternate-key value, the record corresponding to that entry is also retrieved, and this operation repeated until no entry has an identical key value.

Next, we will describe generation. Generation may be useful in a variety of situations, among them when multiple records already exist in this system's file and regeneration is required for such reason as an increased number of overflow blocks, when restoring information from a back-up medium to the medium on which this system has been implemented, and when moving records stored by a method other than that described here to this system. Any of these may be effected by the same means.

For regeneration, files are read in the order of their primary keys with a sequential access method and a sequential file is created. A sequential file is similarly created for generation.

Next, the location tables and alternate-key tables are to be prepared. The number of location table entries is obtained by dividing the number of records planned to be stored by the number of records that can be stored in a single block, and that amount of space is secured in a contiguous region. Alternate-key tables are secured for each type of alternate key. All alternate-key blocks for a given type of alternate key have the same size, and the number of such blocks is determined thus: The number of entries (A) that can be stored in a single alternate-key block is obtained, and the number of records planned to be stored is divided by A to obtain the number of alternate-key blocks. Pre-alternate-key tables are also to be prepared, if such are required.

Records are stored in a block in the order of their primary keys. The frequency of insertions may be estimated in advance or calculated from statistical data, and a certain proportion of empty space provided within a given block. This also allows for instantaneous storage of records. This is determined by how often insertions are to be performed. The proportion of empty space provided within a block may vary from block to block. When a record is stored, an entry is written to the location table. If a record has an alternate key, first an alternate-key entry is created from the record and stored in a sequential file. When alternate-key entries have been created for all records, the entries are sorted in the order of the alternate keys and the sorted entries stored in the alternate-key block. The number of records generated is divided by the final number of stored records planned, and storage of the alternate-key entries is performed in the alternate-key block in the proportion corresponding to that quotient. This is because the alternate keys are inserted rather than added.

An alternate key may also be put to special use. Because keys are currently assigned to fields stored in a specific location in a record, they have an identical length and format, such as a product code or a customer code. Because keys and records may be made relational in this system, keys may be created for text data. Keys may also be created for records of non-specific format, as illustrated in FIG. 7. As in this example, alternate keys may be assigned to records not having fields of uniform location or fixed field lengths. 

I claim:
 1. An information storage and retrieval system for computers, comprising: multiple data records, each having a unique primary key; multiple primary blocks, the data records being preferably stored in the primary blocks and in the order of primary keys thereof; location table records, each storing an address of one of said primary blocks; a location table for storing the location table records in the order of the primary keys and in a contiguous space; and a final pointer for storing a last address in the location table record currently being used, said information storage and retrieval system being adapted so that said primary key is used for retrieving a target data record by looking up the address of the location table record of a final pointer, performing a binary search on the location table between the address of a first location table record and the last address in the location table record currently being used, identifying the block address corresponding to the primary key, accessing the primary block with the block address, and retrieving the target data record containing the primary key.
 2. The information storage and retrieval system of claim 1, further comprising: at least one overflow block, each storing data records in the order of the primary keys, a first overflow block is pointed by the primary block, and any remaining overflow block is pointed by the adjacent previous overflow block.
 3. The information storage and retrieval system of claim 1, further comprising: means for arranging said primary block and said overflow block such that an added data record can be stored in said primary block or overflow block; means for creating new primary blocks and overflow blocks; means for allocating said new primary block in the event an added data record cannot be stored in a final primary block, said data record then to be stored in said new primary block; and means for allocating said overflow block in the event an added data record cannot be stored in a primary block or in a connected overflow block, the data record then to be stored serially across said primary block and said overflow block or overflow blocks.
 4. The information storage and retrieval system of claim 1, wherein the data records have at least one non-unique alternate key; and the information storage and retrieval system comprises: alternate key entries, each storing said alternate key and said primary key; alternate key blocks, each storing said alternate key entries in the order of the alternate keys; and an alternate key table for storing said alternate key blocks in the order of the alternate keys and in a contiguous space, said alternate key is used for retrieving the target data record by performing a binary search on the alternate key table, obtaining the alternate key block, accessing the alternate key entry of the alternate key, and retrieving the target data record by means of the primary key of said alternate key entry.
 5. The information storage and retrieval system of claim 4, wherein said alternate key entries store the addresses of the primary blocks; and said target data record being retrieved by searching within the primary block indicating the address of the primary block of said alternate key entry.
 6. The information storage and retrieval system of claim 4, further comprising: at least one alternate key overflow block, each storing the alternate key entries in the order of the alternate keys, a first alternate key overflow block is pointed by alternate key blocks, and any remaining alternate key overflow block is pointed by an adjacent previous alternate key overflow block.
 7. An information storage and retrieval method for computers, comprising steps of: storing data records having a single unique primary key in primary blocks in the order of the primary keys thereof; storing the address of primary blocks in a location table record; storing the location table records in a contiguous space in a location table in the order of the primary keys; and storing the address of the location table record containing the address of the final primary block in a final pointer, said primary key is used for retrieving a target data record by looking up an address of the location table record of a final pointer, performing a binary search on the location table between the address of a first location table record and the last address in the location table record currently being used, identifying the block address corresponding to the primary key, accessing the primary block with the block address, and retrieving the target data record containing the primary key.
 8. An information storage and retrieval system for computers, comprising: multiple data records, each having a unique primary key; multiple primary blocks of fixed length and multiple overflow blocks, the data records being preferably stored in the primary blocks and in the order of primary keys thereof; location table records, each storing an address of one of said primary blocks; a location table for storing the location table records in the order of the primary keys and in a contiguous space; means for arranging said primary block and said overflow block such that an added data record can be stored in said primary block or overflow block; means for creating new primary blocks and overflow blocks; means for allocating said new primary block in the event an added data record cannot be stored in a final primary block, said data record then to be stored in said new primary block; means for allocating said overflow block in the event an added data record cannot be stored in a primary block or in a connected overflow block, the data record then to be stored serially across said primary block and said overflow block or overflow blocks; and a final pointer for storing the last address in the location table record currently being used, said information storage and retrieval system being adapted so that said primary key is used for retrieving a target data record by looking up the address of the location table record of a final pointer, performing a binary search on the location table between the address of a first location table record and the last address in the location table record currently being used, identifying the block address corresponding to the primary key, accessing the primary block with the block address, and retrieving the target data record containing the primary key.
 9. The information storage and retrieval system of claim 8, wherein a first overflow block is pointed by the primary block and any remaining overflow block is pointed by an adjacent previous overflow block.
 10. The information storage and retrieval system of claim 8, wherein the data records have at least one non-unique alternate key and said information storage and retrieval system comprises alternate key entries, each storing said alternate key and said primary key; alternate key blocks, each storing said alternate key entries in the order of the alternate keys; and an alternate key table for storing said alternate key blocks in the order of the alternate keys and in a contiguous space, said alternate key is used for retrieving the target data record by performing a binary search on the alternate key table, obtaining the alternate key block, accessing the alternate key entry of the alternate key, and retrieving the target data record by means of the primary key of said alternate key entry.
 11. The information storage and retrieval system of claim 10, wherein said alternate key entries store the address of the primary block and said target data record is retrieved by searching within the primary block indicating the address of the primary block of said alternate key entry.
 12. The information storage and retrieval system of claim 10, further comprising: at least one alternate key overflow block, each storing the alternate key entries in the order of the alternate keys, a first alternate key overflow block is pointed by alternate key blocks, and any remaining alternate key overflow block is pointed by an adjacent previous alternate key overflow block.
 13. An information storage and retrieval method for computers, comprising steps of: storing data records having a single unique primary key in primary blocks in the order of the primary keys thereof; storing the address of primary blocks in a location table record; storing the location table records in a contiguous space in a location table in the order of the primary keys; and storing the address of the location table record containing the address of the final primary block in a final pointer, said primary key is used for retrieving a target data record by looking up an address of the location table record of a final pointer, performing a binary search on the location table between the address of a first location table record and the last address in the location table record currently being used, identifying the block address corresponding to the primary key, accessing the primary block with the block address, and retrieving the target data record containing the primary key. 